﻿
namespace Mari.SmartHotel.Core.Entities
{
    /// <summary>
    /// Update status definitions
    /// </summary>
    public enum UpdateStatus
    {
        /// <summary>
        /// Application is updated
        /// </summary>
        ApplicationIsUpdated,
        /// <summary>
        /// Application is checking if updates are available
        /// </summary>
        CheckingUpdate,
        /// <summary>
        /// Application is downlading the updated files
        /// </summary>
        DownloadingUpdatedFiles,
        /// <summary>
        /// Application downloaded updates 
        /// </summary>
        DownloadComplete,
        /// <summary>
        /// Application must update  
        /// </summary>
        ApplicationNeedsToUpdate,
        /// <summary>
        /// Application need to restart after update
        /// </summary>
        ApplicationNeedsToRestart,
        /// <summary>
        /// Application need to restart after update mandatory odd min version
        /// </summary>
        ApplicationNeedsToRestartMandatory,
        /// <summary>
        /// Unable to update due to an error
        /// </summary>
        UpdateError
    }
}
